package org.summerframework.component.note.template.service.dto;

import org.summerframework.core.base.dto.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * note_template
 * @author
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class NoteTemplateDTO extends BaseDTO {
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码", required = true)
    private String code;

    @ApiModelProperty(value = "发送的模板编码")
    private String templateCode;

    /**
     * 短信模板名称
     */
    @ApiModelProperty(value = "短信模板名称", required = true)
    private String signName;

    /**
     * 模板
     */
    @ApiModelProperty(value = "模板", required = true)
    private String template;

    /**
     * 类型  1: 验证码  2:通知类
     */
    @ApiModelProperty(value = "类型  1: 验证码  2:通知类")
    private Integer type;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "平台类型  1: 阿里云  2:腾讯云")
    private Integer platformType;
}
